﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_SpecialPriceB_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_SpecialPriceB_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_SpecialPriceB_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_SpecialPriceB_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_SpecialPriceB_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_SpecialPriceB_Gridview", "No");
        [Column]
        public string B_Ship { get { return _B_Ship; } set { _B_Ship = value; EntityState.FieldChange("B_Ship"); } } private string _B_Ship; public static FieldInfo b_Ship = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Ship");
        [Column]
        public string B_Sold { get { return _B_Sold; } set { _B_Sold = value; EntityState.FieldChange("B_Sold"); } } private string _B_Sold; public static FieldInfo b_Sold = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Sold");
        [Column]
        public string B_Sales_Off { get { return _B_Sales_Off; } set { _B_Sales_Off = value; EntityState.FieldChange("B_Sales_Off"); } } private string _B_Sales_Off; public static FieldInfo b_Sales_Off = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Sales_Off");
        [Column]
        public string B_Sales_Grp { get { return _B_Sales_Grp; } set { _B_Sales_Grp = value; EntityState.FieldChange("B_Sales_Grp"); } } private string _B_Sales_Grp; public static FieldInfo b_Sales_Grp = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Sales_Grp");
        [Column]
        public string B_PH4 { get { return _B_PH4; } set { _B_PH4 = value; EntityState.FieldChange("B_PH4"); } } private string _B_PH4; public static FieldInfo b_PH4 = new FieldInfo("TW_SpecialPriceB_Gridview", "B_PH4");
        [Column]
        public string B_Tin_Size { get { return _B_Tin_Size; } set { _B_Tin_Size = value; EntityState.FieldChange("B_Tin_Size"); } } private string _B_Tin_Size; public static FieldInfo b_Tin_Size = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Tin_Size");
        [Column]
        public string B_Status { get { return _B_Status; } set { _B_Status = value; EntityState.FieldChange("B_Status"); } } private string _B_Status; public static FieldInfo b_Status = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Status");
        [Column]
        public string B_Decription { get { return _B_Decription; } set { _B_Decription = value; EntityState.FieldChange("B_Decription"); } } private string _B_Decription; public static FieldInfo b_Decription = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Decription");
        [Column]
        public string B_Proc { get { return _B_Proc; } set { _B_Proc = value; EntityState.FieldChange("B_Proc"); } } private string _B_Proc; public static FieldInfo b_Proc = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Proc");
        [Column]
        public string B_Amount { get { return _B_Amount; } set { _B_Amount = value; EntityState.FieldChange("B_Amount"); } } private string _B_Amount; public static FieldInfo b_Amount = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Amount");
        [Column]
        public string B_Unit { get { return _B_Unit; } set { _B_Unit = value; EntityState.FieldChange("B_Unit"); } } private string _B_Unit; public static FieldInfo b_Unit = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Unit");
        [Column]
        public string B_Per { get { return _B_Per; } set { _B_Per = value; EntityState.FieldChange("B_Per"); } } private string _B_Per="1"; public static FieldInfo b_Per = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Per");
        [Column]
        public string B_Uom { get { return _B_Uom; } set { _B_Uom = value; EntityState.FieldChange("B_Uom"); } } private string _B_Uom; public static FieldInfo b_Uom = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Uom");
        [Column]
        public string B_Calculat_Type { get { return _B_Calculat_Type; } set { _B_Calculat_Type = value; EntityState.FieldChange("B_Calculat_Type"); } } private string _B_Calculat_Type; public static FieldInfo b_Calculat_Type = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Calculat_Type");
        [Column]
        public string B_ScaleBasis { get { return _B_ScaleBasis; } set { _B_ScaleBasis = value; EntityState.FieldChange("B_ScaleBasis"); } } private string _B_ScaleBasis; public static FieldInfo b_ScaleBasis = new FieldInfo("TW_SpecialPriceB_Gridview", "B_ScaleBasis");
        [Column]
        public string B_Valid_From { get { return _B_Valid_From; } set { _B_Valid_From = value; EntityState.FieldChange("B_Valid_From"); } } private string _B_Valid_From; public static FieldInfo b_Valid_From = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Valid_From");
        [Column]
        public string B_Valid_To { get { return _B_Valid_To; } set { _B_Valid_To = value; EntityState.FieldChange("B_Valid_To"); } } private string _B_Valid_To; public static FieldInfo b_Valid_To = new FieldInfo("TW_SpecialPriceB_Gridview", "B_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_SpecialPriceB_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_SpecialPriceB_Gridview", "Status");

    }
}
